package com.jobs.enumDemo;

import lombok.Getter;

/**
 * @Author 王博
 * @DateTime 2024-06-05 17:55
 */
@Getter
public enum TypeEnum {
    TYPE_1(1, "类型1"),
    TYPE_2(2, "类型2"),
    TYPE_3(3, "类型3");

    private final Integer type;
    private final String desc;

    TypeEnum(Integer type, String desc) {
        this.type = type;
        this.desc = desc;
    }

}
